package com.ax.center.service;

import com.ax.center.dto.ApiResponse;
import com.ax.center.entity.RoleAuth;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author zy
 * @date 2023/7/5 15:27
 */
public interface RoleAuthService extends IService<RoleAuth> {

    public ApiResponse queryAuthByRoleId(Long roleId);

    public ApiResponse insertMore(Long roleId, List<Long> permissions);

    public ApiResponse insertOne(Long roleId, Long authId);

    public ApiResponse deleteOneByRoleId(Long roleId);


}
